home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-in_the_mag-
/
basics
/
amos
/
beer.lha
/
Beer
/
Beer.asc
Wrap
Text File
|
1997-02-19
|
2KB
|
47 lines
'Loony Juice software present:
'
' *Finaly a use for the 'Say' command!*
'
'Why have I written this. When I sat down this wasnt what I was going
'to do. Actually I enjoyed doing this better than what I had planned
'and now I can't remember what I was going to do.
'For some reason this crashes Amos 1.35 but who cares. Then again
'thats probbably down to dodgy SIMM's.
'How do birds fly in strong wind? Bacwards I suppose.
'You could stick a timer in this, compile it and use it as a screen saver!
'But then again probably not.
'Why not email me for a good old chin wag!
'You can't chin wag over wires so we'll have to come up with another
'name for a good natter.
'19th Feb 1997.
'L.A.ATKINS@UCLAN.AC.UK
'
Set Talk 0,0,130,180
Dim NUM$(18)
For Q=1 To 18
Read NUM$(Q)
Next Q
For Q=99 To 2 Step -1
SNUM$=""
If Q<10 Then SNUM$=SNUM$+Str$(Q)
If Q>9 and Q<20 Then SNUM$=SNUM$+NUM$(Q-9)
If Q>19
P$=Str$(Q)
P=Val(Left$(P$,2))
SNUM$=SNUM$+NUM$(9+P)
If Val(Right$(P$,1))>0
SNUM$=SNUM$+Right$(P$,1)
End If
End If
SENT$=SNUM$+" bottles of beer on the wall, "+SNUM$+" bottles of beer, "
SENT$=SENT$+"take one down and pass it around "+SNUM$+" bottles of beer."
Say SENT$
Next Q
S$="one bottle of beer on the wall, one bottle of beer, take it down and pass "
S$=S$+"it around one bottle of beer."
Say S$
Say "hay, we're out of beer."
Data "ten","elevn","twelv","thirteen","forteen","fifteen","sixteen"
Data "seventeen","eighteen","nine teen","twenty","thirty","forty"
Data "fifty","sixty","seventy","eighty","nighntiy"